//
//  ZPPoppingBaseView.h
//  ZPIOSEducation
//
//  Created by mini1 on 2016/12/20.
//  Copyright © 2016年 mini1. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZPPoppingBaseView : UIView

+ (id)viewFremNib;
+ (id)loadFromNib;
- (void)show;
- (void)cancel;
- (void)cancelWithAnimation:(BOOL)show;

// Subclass
- (void)didShow;
- (void)willCancel:(BOOL)isAutoCancel;
- (void)didCancel;

// Animation
+ (CAKeyframeAnimation *)scaleAnimation:(BOOL)show;
@end
